package cn.tedu.springdemo.demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

@Component

public class DemoBean {

    Logger logger = LoggerFactory.getLogger(DemoBean.class);
    public void test(){
        logger.debug("test()");
    }
}
